import request from '@/utils/request'

export function selectHealth(query) {
    return request({
        url:"/health/list",
        method:"get",
        params:query
    })
  }


export function addHealth(data) {
    return request({
        url:"/health/addHealth",
        method:"post",
        data:data
    })
  }


export function editHealth(data) {
  return request({
      url:"/health/editHealth",
      method:"put",
      data:data
  })
}


  export function deleteHealth(id) {
    return request({
        url:"/health/"+id,
        method:"delete"
    })
  }